package tda366.tilemap;

import java.awt.Panel;

import javax.swing.JFrame;
import javax.swing.JPanel;

public class MainFrame extends JFrame{

	private TileMapController controller;

	private TileMapView view;

	private TileMapModel model;

	private JPanel guiPanel;

	public MainFrame(){
		model = new TileMapModel();
		view = new TileMapView(model);
		controller = new TileMapController(view, model);
		guiPanel = new JPanel();
		guiPanel.add(view);
		add(guiPanel);
		pack();
		setVisible(true);
		requestFocus();
	}
}
